<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="js/jquery/jquery-1.7.min.js"></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js"></script>
<script type="text/javascript" src="js/jquery/validate-methods.js"></script>
<script type="text/javascript" src="js/json/json-minified.js"></script>
<script type="text/javascript" src="js/city.js"></script>
<script type="text/javascript" src="js/register.js"></script>
<title>供应商注册</title>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
</head>
<body>
	<h1 align="center" class="title">供应商注册</h1>
	<div class="row">
		<div
			class="col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 col-md-4 col-md-offset-4">
			<div class="login-panel panel-register panel-default"
				id="panel-register">
				<div class="panel-body-register">
					<form action="providerRegister.action" method="post"
						id="register" enctype="multipart/form-data">
						<fieldset>
							<div class="form-group">
								<input class="form-control" placeholder="用户名" id="provider.username"
									name="provider.username" autofocus>
							</div>
							<div class="form-group">
								<input class="form-control" placeholder="请输入密码"
									name="provider.password" id="password" type="password" >
							</div>
							<div class="form-group">
								<input class="form-control" placeholder="再一次输入登录密码"
									name="repassword" type="password" value="" id="repassword">
							</div>
							<div class="form-group">
								<input class="form-control" placeholder="请输入名称"
									name="provider.name" value="" id="name">
							</div>
							<div class="form-group">
								<input class="form-control" placeholder="请输入联系方式"
									name="provider.phone" value="" id="phone">
							</div>
							<div class="form-group">
								<textarea class="form-control" placeholder="请输入简介" rows="5"
									name="provider.introduction" value="" id="introduction"></textarea>
							</div>
							<div class="form-group">
								<label style="color: black;">选择城市</label><select name="province"
									class="register_select" id="province"
									onchange="onSelectChange(this,'city');">
								</select><select name="provider.city.index" id="city"
									class="register_select">
									<option value="">请选择</option>
								</select>
							</div>
							<div class="form-group">
								<label style="color: black;">上传文件</label> <input type="file" class="register_select"
									name="permit" id="permit" />
							</div>
							
							<s:submit value="注册" cssClass="btn btn-primary"></s:submit>
							<s:reset value="重置" cssClass="btn btn-primary"
								style="position: relative ;left:30px;" theme="simple" />
						</fieldset>
					</form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>